package com.czxy.dao;

import com.czxy.domain.CommodityImg;
import org.apache.ibatis.annotations.*;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface CommodityImgMapper extends Mapper<CommodityImg> {

    @Select("select * from commodity_img where commodity_id = #{commodityId}")
    public List<CommodityImg> selectByCommodityId(@Param("commodityId") String commodityId);

}
